package com.asset.pojo;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.validation.constraints.NotBlank;

/**
 * @author 11725
 */
@Data
@Table(name = "tab_purchase_detail")
public class PurchaseDetail {

    /** 对应的采购单编号 */
    @Id
    @Column(name = "purchase_id")
    private Long id;

    /** 采购详情单 */
    @NotBlank(message = "采购清单不得为空")
    @Column(name = "purchase_list")
    private String list;
}
